package com.woniu.model.mallSystem.gh.common;

public interface RedisConstant {
    /**
     * 一级品类分类
     */
    String CATEGORY_ALL_PLIST = "category:type";

    /**
     *子品类
     */
    String CATEGORY_LIST_CHILDREN = "category:children";
    /**
     * 品类详情
     */
    String CATEGORY_DETAIL = "category:type_detail_";

    /**
     * 商品缓存key
     */
    String COMMODITY_LIST = "commodity:list";
    /**
     * 登录token前缀
     */
    String USER_TOKEN_PREFIX = "user_token_";
    /**
     * 购物车缓存
     */
    String USER_CART_PREFIX = "user_cart_";
    /**
     * 省份缓存
     */
    String PROVINCES = "province";
    /**
     * 地址缓存
     */
    String CHINA_CACHE = "china_cache";
    /**
     * 订单唯一标识前缀
     */
    String ORDER_IDEMPOTENT_PREFIX = "order_idempotent_";
    /**
     * token中保存的用户id
     */
    String USERID = "userId";

    String INTERFACE_IDEA_PREFIX = "Interface_idea_prefix"; // 幂等性前缀

    Object ORDER_STATUS = "ORDER_STATUS";//订单状态
}
